﻿@model Bricks.Site.Models.QualityCorrectiveView

@{
    ViewBag.Title = "预览质量整改";
    Layout = "~/Views/Shared/_UserPage.cshtml";
}

@*引入uEditor*@
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/ueditor.all.js"> </script>
<script type="text/javascript" charset="utf-8" src="/Res/ueditor/lang/zh-cn/zh-cn.js"></script>
<link rel="stylesheet" type="text/css" href="/Res/ueditor/themes/default/css/ueditor.css" />

<script>
    $(function () {
        $.MiniUEditorInit($("#hID").val(), "QualityManagement/QualityCorrective/Content", "content", 620, 100, true);  //迷你加载
        $.MiniUEditorInit($("#hID").val(), "QualityManagement/QualityCorrective/FinishCondition", "finishCondition", 620, 100, true);  //迷你加载
    });
</script>

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="circular-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">整改要求</div>
                </td>
                <td class="td" colspan="9">
                    <div class="datagrid-cell">
                        <input id="correctiveDemand" name="CorrectiveDemand" class="easyui-textbox" data-options="required:true" style="width:528px;" value="@Model.CorrectiveDemand" readonly />
                        <a id="chooseCircular" href='javascript:void(0)' class='easyui-linkbutton' data-options='plain:true,iconCls:"icon-bell",disabled:true'>选择通报</a>
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">整改标题</div>
                </td>
                <td class="td" colspan="9">
                    <div class="datagrid-cell">
                        <input name="CorrectiveTitle" class="easyui-textbox" data-options="required:true" style="width: 615px;" value="@Model.CorrectiveTitle" readonly />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">填报时间</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="FormTime" class="easyui-textbox" value="@Model.FormTime" style="background:#eeeeee;" readonly />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">填报单位</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="formOrg" name="FormOrg" class="easyui-textbox" value="@Model.FormOrg" style="background:#eeeeee;" readonly />
                        @*<input id="formOrgID" name="FormOrgID" class="easyui-textbox" value="@Model.FormOrgID" />*@
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">填报人</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="FormUser" class="easyui-textbox" style="background:#eeeeee;" value="@Model.FormUser" readonly />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">整改内容</div>
                </td>
                <td class="td" colspan="9">
                    <div class="datagrid-cell">
                        <textarea id="content" name="Content" cols="85" rows="5" readonly>@Model.Content</textarea>
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">完成情况</div>
                </td>
                <td class="td" colspan="9">
                    <div class="datagrid-cell">
                        <textarea id="finishCondition" name="FinishCondition" cols="85" rows="5" readonly>@Model.FinishCondition</textarea>
                    </div>
                </td>
            </tr>
        </table>
        <input id="hID" name="ID" type="hidden" value="@Model.ID" />
        <input id="hFormUserID" name="FormUserID" type="hidden" value="@Model.FormUserID" />
        <input id="hCircularID" name="CircularID" type="hidden" value="@Model.CircularID" />
        <input name="IsDeleted" type="hidden" value="@Model.IsDeleted" />
        <input name="AddDate" type="hidden" value="@Model.AddDate" />
    </form>
</div>
